package com.article.dao.impl;

import java.util.List;

import com.article.dao.IUserDAO;
import com.article.entity.User;

public class UserDAOImpl extends BaseDAOImpl<User> implements IUserDAO<User> {
	public static final String USER_NAME = "userName";
	public static final String PASSWORD = "password";

	public UserDAOImpl() {
		super(User.class);
	}

	public List<User> findByUserName(String userName) {
		return super.findByProperty(USER_NAME, userName);
	}

}
